@tailwind base;

@tailwind components;

@tailwind utilities;
* {
  margin: 0;
  padding: 0;
}
@leftMenu: 60px;
@navHeight: 50px;
@primary: #007bff;
:root {
  --iconRadius: 16px;
}
.hover {
  cursor: pointer;
}

@headHeight: 50px;
.header {
  position: relative;
  height: @headHeight;

  .head-box {
    position: fixed;
    width: 100vw;
    height: @headHeight;
    box-shadow: 0 1px 8px rgb(233, 233, 233);
    display: flex;
    justify-content: center;
  }

  .logo {
    font-size: 19px;
    font-weight: 600;

    > img {
      height: 30px;
    }
  }

  .column-nav {
    > a {
      color: #555;
      font-size: 14px;

      &:hover {
        color: @primary;
      }
    }
  }
}

.Pages {
  margin: auto;
}

.layui-menu-select {
  color: red;
}

.layui-nav-item {
  > a {
    line-height: 30px !important;
  }
}

.layui-nav {
  border-radius: 0px !important;
}

.menu-left {
  background-color: #393d49;
  height: 100vh;

  > .logo {
    display: flex;
    align-items: flex-end;
    padding: 20px;

    > img {
      height: 40px;
    }

    > span {
      margin-left: 10px;
      font-size: 18px;
      color: #fff;
    }
  }
}

body {
  &::-webkit-scrollbar {
    display: none;
  }
}

.row-span-1 {
  grid-row: span 1 / span 1;
}
.col-span-1 {
  grid-column: span 1 / span 1;
}
.row-span-2 {
  grid-row: span 2 / span 2;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.Searchengine {
  display: flex;
  width: 50px;
  > img {
    width: 20px;
    height: 20px;
  }
  > svg {
    margin-left: 5px;
    width: 20px;
    color: red;
  }
}

img {
  -webkit-touch-callout: none;
}
.el-dialog {
  border-radius: 10px;
}

.edits {
  animation: rotates 0.4s infinite;
}

@keyframes rotates {
  0% {
    transform: rotateZ(-1deg);
  }

  50% {
    transform: rotateZ(1deg);
  }

  100% {
    transform: rotateZ(-1deg);
  }
}

.labelItem {
  border-radius: 6px;
  background-color: rgb(255, 255, 255);
  padding: 10px;
  display: flex;
  align-items: center;

  > span {
    font-size: 13px;
  }
}

.el-message-box {
  width: 300px !important;
}
.el-dialog__body {
  padding-top: 10px;
}

.custom-icon {
  position: relative;
  padding: 0px;
  margin: 0px;
  width: 60px;
  height: 60px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--iconRadius);
  > .f1 {
    font-size: 30px;
    font-weight: 600;
  }
  > .f2 {
    font-size: 18px;
    font-weight: 600;
  }
  > .f3 {
    font-size: 16px;
  }
  > .f4 {
    font-size: 14px;
  }
  > .f5 {
    font-size: 12px;
    transform: scale(0.9);
  }
  > .f6 {
    white-space: nowrap;
    word-wrap: normal;
    word-wrap: normal;
    font-size: 12px;
    transform: scale(0.6);
  }
}
